<script setup lang="ts">
import { ref } from 'vue'

const form = ref()

const formData = ref({
  username: '',
  password: '',
  confirmPassword: '',
})
</script>

<template>
  <div>
    <uni-section title="注册" type="line" padding>
      <uni-forms ref="form" :model-value="formData" class="form-card">
        <uni-forms-item name="username">
          <uni-easyinput v-model="formData.username" type="text" placeholder="请输入用户账号/手机号" maxlength="12" />
        </uni-forms-item>
      </uni-forms>
    </uni-section>
  </div>
</template>
